<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../js/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../js/themes/icon.css">
<script type="text/javascript" src="../js/jquery.min.js" charset="utf-8"></script>
<script type="text/javascript" src="../js/jquery.easyui.min.js"charset="utf-8"></script>
<script type="text/javascript" src="../js/locale/easyui-lang-zh_CN.js"charset="utf-8"></script>
	<script type="text/javascript">
		$(function(){
			$('#tt').datagrid({
				width:1100,
				height:350,
				url:'<%=path%>/main/get/pros?',
				queryParams: {
		    		pageSize: 5,
		    		pageNumber: 1
		    	},	
			    toolbar: '#tb',
				singleSelect:true,
				selectOnCheck: true,
			    checkOnSelect: true,
			    pagination : true,
			    loadMsg: '数据加载中...',
				mode : 'remote',
				delay : 500,
				rownumbers:true,
				checkbox:true,
			    fit:false,
			    pageSize : 5,
				pageNumber:1,
				pageList : [ 5, 10,20,50 ], 
				title:'',
				columns:[[
				{field:'id',title:'序号',width:100,},
				{field:'date',title:'单据日期',width:140},
				{field:'no',title:'单据编号',width:140},
				{field:'serialno',title:'CRM单据号',width:140},
				{field:'customer',title:'顾客名称',width:140},
				{field:'subinfo',title:'明细',width:150},
				{field:'settlestyle',title:'结算方式',width:140},
				{field:'remark',title:'备注',width:148},
				          ]],
			});	
		});
	</script>
<title>Insert title here</title>
<style>
		#d1{
		text-align:center;
		margin-top: 50px;
	}
		#d2{
		margin-left:1150px;
	}
		#d3{
	width: 1100px;
	margin: 45px auto;
	}
</style>
</head>
<body>
	<div id="d2">	
				<a id="btn" href="#" class="easyui-linkbutton" data-options="iconCls:''">审核</a>
			    <a id="btn" href="#" class="easyui-linkbutton" data-options="iconCls:''">放弃</a>
				
	</div>
	<div id="d1"><h2>收款单列表</h2></div>
	
		<div id="d3">
				<table id="tt">
						
				</table>
		</div>
		
</body>
</html>